#!/usr/bin/env python
#coding=utf-8

import uuid
from flask import Flask,url_for
from Applications import current_app



app = current_app(config_name='ProductionConfig')
#app = current_app(config_name='DevelopmentConfig')
if __name__ == '__main__':
    #app.run(host='0.0.0.0')
    print('app.static_url_path:' + app.static_url_path)
    print('app.static_folder:'+app.static_folder)



    app.run()


''':cvar

from flask import Flask

#服务命名为app
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello World!'

if __name__ == '__main__':
    from werkzeug.contrib.fixers import ProxyFix
    app.wsgi_app = ProxyFix(app.wsgi_app)
    app.run()


'''